﻿using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ashlen.Portal.Core
{

    public enum ResponseCode
    {
        Error,
        Success
    }

    public enum EmailStatus
    {

        Fail,
        FailedCanRetry,
        Pending,
        RetryFailed,
        Sent
    }

    public enum LogSeverity
    {
        VERBOSE = 1,
        INFORMATION = 2,
        ERROR = 3

    }

    /* -- News Enums ---*/
    [DataContract]
    public enum NewsSortBy
    {
        dateUpdated = 1,
        weight = 0
    }

    [DataContract]
    public enum HeadlinesType
    {
        todaysHeadlines,
        topIn24Hours,
        topInWeek
    }
}
